package com.weipai.springboot.module.service;

import com.weipai.springboot.model.SpecialOffer;
import com.weipai.springboot.model.api.Response;

import java.util.List;
import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/08/04 10:12
 * 
 * 活动会场
 */
public interface SpecialOfferService {
    
    //保存
    Response save(SpecialOffer specialOffer);

    //查询未删除（删除）的数据
    List<SpecialOffer> selectAllByDel(int del);

    //修改
    Response update(SpecialOffer specialOffer);

    //查询会场详情
    Response getSpecialOfferById(String specialOfferId);

    //删除
    Response deleteById(String specialOfferId);

    //更改会场活动的状态
    Response changeStatus(String specialOfferId, Integer status);

    //批量删除
    Response batchDeleteById(String[] id);

    //分页查询
    Response selectAllByPage(Integer page, Integer size, String draw, Integer type);

    Response getSpecialOffer();
}
